home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 4.1 KB | 135 lines | [TEXT/MPS ] |
- /*
- File: AEObjects.idl
-
- Contains: Object Support Interfaces.
-
- Version: Technology: System 8
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __AEOBJECTS_IDL__
- #define __AEOBJECTS_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __OSUTILS_IDL__
- #include <OSUtils.idl>
- #endif
- #ifndef __QUICKDRAW_IDL__
- #include <Quickdraw.idl>
- #endif
- #ifndef __EPPC_IDL__
- #include <EPPC.idl>
- #endif
- #ifndef __APPLEEVENTS_IDL__
- #include <AppleEvents.idl>
- #endif
- #ifndef __ERRORS_IDL__
- #include <Errors.idl>
- #endif
- #if FOR_SYSTEM7_ONLY
- #ifndef __MEMORY_IDL__
- #include <Memory.idl>
- #endif
- #ifndef __EVENTS_IDL__
- #include <Events.idl>
- #endif
- #endif
-
- #ifdef __SOMIDL__
-
- /**** LOGICAL OPERATOR CONSTANTS ****/
- /**** VALUE and TYPE CONSTANTS ****/
- /* Possible values for flags parameter to AEResolve. They're additive */
- /**** SPECIAL CONSTANTS FOR CUSTOM WHOSE-CLAUSE RESOLUTION */
- /*
- *
- used for rewriting tokens in place of 'ccnt' descriptors
- This record is only of interest to those who, when they...
- ...get ranges as key data in their accessor procs, choose
- ...to resolve them manually rather than call AEResolve again.
- *
- */
- typedef SOMLargeStruct ccntTokenRecord; /* Derived from a struct of 12 bytes in size */
-
- typedef OpaquePtr ccntTokenRecPtr; /* Substituted OpaquePtr for “ccntTokenRecord*” */
-
- typedef OpaquePtr ccntTokenRecHandle; /* Substituted OpaquePtr for “ccntTokenRecPtr*” */
-
- #if OLDROUTINENAMES
- typedef OpaquePtr DescPtr; /* Substituted OpaquePtr for “AEDesc*” */
-
- typedef OpaquePtr DescHandle; /* Substituted OpaquePtr for “DescPtr*” */
-
- #endif
- #if FOR_SYSTEM8_PREEMPTIVE
- #if FOR_PTR_BASED_AE
- typedef AEDesc OSLToken;
-
- typedef OpaquePtr OSLTokenPtr; /* Substituted OpaquePtr for “OSLToken*” */
-
- typedef AEDesc OSLTokenList;
-
- typedef OpaquePtr OSLTokenListPtr; /* Substituted OpaquePtr for “OSLTokenList*” */
-
- /* typedefs providing type checking for procedure pointers */
- /* these typedefs must be the same as the system 7 ones */
- /* the system 7 and system 8 callbacks can intermingle */
- typedef OpaquePtr OSLAccessorProcPtr;
- typedef OpaquePtr OSLCompareProcPtr;
- typedef OpaquePtr OSLCountProcPtr;
- typedef OpaquePtr OSLDisposeTokenProcPtr;
- typedef OpaquePtr OSLGetMarkTokenProcPtr;
- typedef OpaquePtr OSLGetErrDescProcPtr;
- typedef OpaquePtr OSLMarkProcPtr;
- typedef OpaquePtr OSLAdjustMarksProcPtr;
- /*——————————————————————————————— PUBLIC PROCEDURES —————————————————————————————————*/
- /* new API */
- #endif
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- #if !FOR_PTR_BASED_AE
- /* typedefs providing type checking for procedure pointers */
- typedef OpaquePtr OSLAccessorProcPtr;
- typedef OpaquePtr OSLAccessorUPP;
- typedef OpaquePtr OSLCompareProcPtr;
- typedef OpaquePtr OSLCompareUPP;
- typedef OpaquePtr OSLCountProcPtr;
- typedef OpaquePtr OSLCountUPP;
- typedef OpaquePtr OSLDisposeTokenProcPtr;
- typedef OpaquePtr OSLDisposeTokenUPP;
- typedef OpaquePtr OSLGetMarkTokenProcPtr;
- typedef OpaquePtr OSLGetMarkTokenUPP;
- typedef OpaquePtr OSLGetErrDescProcPtr;
- typedef OpaquePtr OSLGetErrDescUPP;
- typedef OpaquePtr OSLMarkProcPtr;
- typedef OpaquePtr OSLMarkUPP;
- typedef OpaquePtr OSLAdjustMarksProcPtr;
- typedef OpaquePtr OSLAdjustMarksUPP;
- /*——————————————————————————————— PUBLIC PROCEDURES —————————————————————————————————*/
- /*
- Not done by inline, but by direct linking into code. It sets up the pack
- such that further calls can be via inline
- */
- #endif
- #endif
- /*——————————————————————————————— END PUBLIC PROCEDURES ——————————————————————————-—*/
- /*——————————————————————————————————————————————————————————————-------------------—*/
- /* NOTE: To check for the presence of the Object Support Library on PowerPC, use */
- /* the Gestalt selector, gestaltOSLInSystem, which is defined in Gestalt.h/p/a. */
- /*——————————————————————————————————————————————————————————————-------------------—*/
-
- #endif /* __SOMIDL__ */
-
- #endif /* __AEOBJECTS_IDL__ */
-
-